package com.yuyou.tas.job.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

import com.yuyou.tas.service.api.admin.service.CommJobAPI;

@Component
public class BatchAlarmJob  {


	@Autowired
	private CommJobAPI commJobAPI;
    
	/**
	 * 每隔1分钟执行一次
	 */
    @Scheduled(cron="0 */1 * * * ?")   
    public void radarCommJobJob() {

    	commJobAPI.alarmCommJob();
    }

    
}
